home *** CD-ROM | disk | FTP | other *** search
/ Asymetrix Multimedia Toolbook 4.0 (CBT Edition) / Asymetric Multimedia Toolbook 4.0 (CBT Edition).iso / ctb40sm.z / CBT4.TBK (.txt) < prev    next >
Asymetrix ToolBook File  |  1995-11-13  |  83KB  |  1,363 lines

  1. *ClassTbl*
  2. *ClassEntry*
  3. *PTABLE*
  4. *WINDOWSEG*
  5. Viewer
  6. *ICONRESTAB*
  7. *ICONRESSEG*
  8. *ICONRES*
  9. Background
  10. *OBJTABLE*
  11. *IDTABLE*
  12. *NAMETAB*
  13. Rectangle
  14. Ellipse
  15. RoundedRectangle
  16. Polygon
  17. IrregularPolygon
  18. AngledLine
  19. Curve
  20. Field
  21. RecordField
  22. ComboBox
  23. Button
  24. PaintObject
  25. Picture
  26. Hotword
  27. *RHOTWORD*
  28. Group
  29. Stage
  30. *TbxBase*
  31. description only
  32. intro
  33. description and example
  34. description and script
  35. Auto-scroll field
  36. Converting to Binary, Hex, Octal
  37. <Introduction>
  38. Navigation
  39. Check for State Abbreviation
  40. <About this book>
  41. Binary Insertion of Textline
  42. scriptChooserDialog
  43. scriptChooserDialog
  44. .'+    +
  45. scriptObjects
  46. enterpage
  47. cancel
  48. keychar
  49. scriptObjects
  50. cancel
  51. selectedtextlines 
  52. "scriptObjects" 
  53. keyEnter
  54. editscript 
  55.     close 
  56. origPage
  57. original
  58. scriptChooserDialog
  59. label
  60. &View the Selected Script:
  61. bottomLine
  62. topLine
  63. scriptObjects
  64. editScript
  65. buttondoubleclick
  66. editScript
  67. selectedTextLines 
  68.         -- the full 
  69. {reference 
  70. hiding 
  71.         -- 
  72. each 
  73. 9,t)+1 
  74. U(t) 
  75. buttonclick
  76. buttonclick
  77. View Script
  78. cancel
  79. buttonclick
  80. buttonclick
  81. Cancel
  82. topicName
  83. description and script
  84. Untitled
  85. enterpage
  86. pageName
  87. templateButtons
  88. label
  89. skipdialog
  90. topicName
  91. chosen
  92. subtopicname
  93. cancel
  94. keychar
  95. cancel
  96. -- initialize dialog box
  97. "Untitled" 
  98. "topicName"
  99. B"description 
  100. buttonclick 
  101. -- sent 
  102. user presses OK
  103. pageName 
  104. chosen 
  105. "templateButtons"
  106.         -- 
  107. the specified 
  108. s"skipdialog"
  109. label 
  110. "subtopicname" 
  111.     close 
  112. -- handles OK 
  113. escape 
  114. keyEnter
  115. origPage
  116. original
  117. label
  118. in,false
  119. ThreeDeeRect
  120. bottomLine
  121. topLine
  122. Topic name:
  123. bottomLine
  124. topLine
  125. topicName
  126. Untitled
  127. templateButtons
  128. chosen
  129. templates
  130. buttonclick
  131. buttonclick
  132.     -- store selected 
  133. a property 
  134. chosen
  135. "templates"
  136. Description and Script
  137. chosen
  138. Description and Script
  139. Description and &Script
  140. Description Only
  141. Description &Only
  142. Description and Example
  143. Description and &Example
  144. Choose Template
  145. templates
  146. Description and script
  147. This is a description. Blah, blah, blah. Boy could I use another cup of Joe. Nothing is worse than work coffee.
  148. to handle buttonup
  149.     do this 
  150.         do that
  151. description only
  152. description and script
  153. This is a description. Blah, blah, blah. Boy could I use another cup of Joe. Nothing is worse than work coffee. I've had so many cups of it already that I can see through time. Maybe some decaf is in orderrican butt.
  154. Description and example
  155. This is a description. Blah, blah, blah. Boy could I use another cup of Joe. Nothing is worse than work coffee. I've had so many cups of it already that I can see through time. Maybe some decaf is in order
  156. to handle buttonup
  157.     do this 
  158.         do that
  159. buttonclick
  160. buttonclick
  161. cancel
  162. buttonclick
  163. buttonclick
  164. Cancel
  165. wwwwwwwwwwpx
  166. wwwwwwwwwww
  167. wwwwwwwwwwpp
  168. wwwwwwwwww
  169. .'+    +
  170. categories
  171. categoryStruct
  172. enterPage
  173. ,&H.&
  174. extractName
  175. frefText
  176. extractID
  177. categories
  178. stwoDQuickSort
  179. categoryStruct
  180. updateCategories
  181. categories 
  182. the "
  183. ZmainStruct[][]
  184. categoryStruct 
  185. fref 
  186. arraySize 
  187. dimensions(
  188. ni][1] 
  189. i][2] 
  190. selectedTextlines 
  191. -- recreates structure 
  192. updateCategories
  193. frefText 
  194. i][1] 
  195. extractName(t)
  196. i][2] 
  197. extractID(t)
  198. twoDQuickSort 
  199. origPage
  200. original
  201. label
  202. bottomLine
  203. topLine
  204. Categories
  205. Category A    128
  206. Category B    151
  207. Category C    160
  208. Drag and Drop    op    Drop    ,141
  209. Drag and Drop    1557,156,141
  210. Drag and Drop    155 Drop    155141
  211. Drag and Drop    1556,141
  212. Drag and Drop    155 and Drop    155
  213. Drag and Drop    155rag and Drop    155and Drop    155op    155Drag and Drop    155
  214. Drag and Drop    155 Manipulation    132,131,130,129
  215. Useful Functions    132,129,115
  216. Widgets    141,140,139,140,139
  217. Untitled    bel    ts    15
  218. Useful Objects    
  219. Useful Objects    95,96
  220. Date functions    
  221. cancel
  222. categories
  223. Untitled
  224. Enter new category
  225. buttonclick
  226. -- prompts 
  227. qcategory
  228. buttonclick
  229. ("Enter 
  230. f"Untitled"
  231. "categories" 
  232. &New...
  233. ,&H.&
  234. cancel
  235. extractName
  236. frefText
  237. You already have another topic with this name.
  238. false
  239. categories
  240. Enter new name for this category.
  241. found
  242. buttonclick
  243. -- allows user 
  244. rename a category
  245. buttonclick
  246. fref 
  247. "categories"
  248. frefText 
  249. selectedTextLines 
  250. tabLoc 
  251. ("Enter 
  252. tabloc-1 
  253. found 
  254.             -- 
  255. asure 
  256. xalready used.
  257. i <> 
  258. extractName(
  259. "You 
  260. rhave another 
  261.         -- update 
  262. &Rename...
  263. w,    #>
  264. Cancel
  265. extractName
  266. Delete category
  267. categories
  268. buttonclick
  269. a category
  270. buttonclick
  271. fref 
  272. "categories"
  273. selectedTextlines 
  274. "Delete 
  275. n" && 
  276. & extractName(t) & 
  277. & "?" 
  278. f"OK" 
  279. "Cancel"
  280. &Delete
  281. updateCategories
  282. buttonclick
  283. buttonclick
  284. updateCategories
  285.     close 
  286. buttonclick
  287. -- closes dialog box
  288. buttonclick
  289. &Cancel
  290. Modify the selected category.
  291. origPage
  292. original
  293. label
  294. bottomLine
  295. topLine
  296. categories
  297. Conversion help
  298. Useful Functions
  299. Widgets
  300. Drag and DropValidation
  301. Date functions
  302. Debugging
  303. DOS Utilities
  304. File Maintenance
  305. Navigation
  306. Sorting and Searching
  307. String Manipulation
  308. Useful Functions
  309. Widgets
  310. Drag and Dropul Objectsns
  311. Useful Objects
  312. prompt
  313. Choose categories for topic "<Introduction>"s into bins"rive""
  314. compileCategories
  315. buttonclick
  316. buttonclick
  317. compileCategories
  318.     close 
  319. buttonclick
  320. -- dismiss dialog box
  321. buttonclick
  322.     close 
  323. &Cancel
  324. ck(WORD)
  325. to get getWinPointe
  326. origPage
  327. original
  328. label
  329. 950123130433102955872494146
  330. Navigation
  331. rightBounds
  332. sizeStuff
  333. splitter
  334. sizePage
  335. sizePage
  336. xpix 
  337. sysPageUnitsPerPixel
  338. rightBounds 
  339. B"splitter" 
  340. "sizeStuff" 
  341. -- keep 
  342. focuswindow 
  343. origPage
  344. original
  345. Navigation
  346. label
  347. Choose a category:
  348. Topics of this category:::
  349. sizeStuff
  350. categories
  351. <All topics>elpsFunctions
  352. <All topics>
  353. Category A
  354. Category B
  355. Category Ceful Functions
  356. Widgetsand Drop
  357. Useful Functions
  358. Widgetsbugging
  359. DOS Utilities
  360. Drag and Drop
  361. File Maintenance
  362. Navigation
  363. Sorting and Searching
  364. String Manipulation
  365. Useful Functions
  366. Widgetsul Objectsns
  367. Useful Objects
  368. navButtons
  369. .'+    +
  370. extractID
  371. topics
  372. tcount
  373. buttonclick
  374. buttonclick
  375. fref 
  376. asure 
  377. isn't empty
  378. tcount 
  379. selectedTextLines 
  380. beginning
  381.         -- 
  382.         -- navigate
  383. extractID(
  384. , so focuswindow reverts 
  385. previous
  386. .'+    +
  387. extractID
  388. topics
  389. buttonclick
  390. -- navigates 
  391. buttonclick
  392. fref 
  393. asure there 
  394. selectedTextLines 
  395. going 
  396.         -- 
  397.         -- 
  398. extractID(
  399. y, so focusWindow reverts 
  400. search
  401. ,&H.&
  402. cancel
  403. bckgrnds
  404. description and script,description and example,description only
  405. searchPhrase
  406. <Custom search>
  407. No instances of
  408. categories
  409. found.
  410. topics
  411. Enter key word to search for.
  412. explanation
  413. backRef
  414. Tvpopulate
  415. buttonclick
  416. buttonclick
  417. Zfoundlist
  418. ("Enter key 
  419. searchPhrase 
  420. ZallTopics
  421. bckgrnds 
  422. "description 
  423. example,
  424. only"
  425. backRef 
  426. pref 
  427. "explanation" 
  428. ) = 0
  429. "No instances 
  430. " && 
  431. populate 
  432. combobox "categories" 
  433. "<Custom 
  434. topics
  435. <Introduction>    145
  436. Explanation and example format    160
  437. Explanation and text illustration format    151
  438. Verbose format    128
  439. Labels    156
  440. Matching quiz    157
  441. Mouse browsing    158
  442. Slider    159
  443. Timer    160
  444. categoryButtons
  445. CategorySetup
  446. categoryPicker
  447. buttonclick
  448. buttonclick
  449. "categoryPicker" 
  450. %modal
  451. Topic Categories
  452. CategoryMaintenance
  453. categoryMaintenance
  454. buttonclick
  455. buttonclick
  456. "categoryMaintenance" 
  457. %modal
  458. Category Maintenance
  459. newTopic
  460. buttonup
  461. newTopic 
  462. %modal
  463. New topic
  464. w,    #>
  465. .',    "
  466. Cancel
  467. categories
  468. Cannot delete the last page of this background.
  469. label
  470. Delete topic
  471. buttonclick
  472. buttonclick
  473. "Delete 
  474. M" && 
  475. & label 
  476. & "?" 
  477. f"OK" 
  478. "Cancel"
  479. "Cannot delete the 
  480. selectchange 
  481. combobox "categories" 
  482. Delete topic
  483. splitter
  484. description only
  485. subtopicname
  486. in,ms
  487. ThreeDeeRect
  488. bottomLine
  489. topLine
  490. explanation
  491. Converting to Binary, Hex, Octal
  492. origPage
  493. original
  494. Verbose format
  495. label
  496. Verbose format
  497. Long descriptions go here
  498. description and example
  499. SubtopicName
  500. in,ms
  501. ThreeDeeRect
  502. bottomLine
  503. topLine
  504. explanation
  505. .',    "
  506. scrolling
  507. rectangle
  508. explanation
  509. enterpage
  510. notifyBefore 
  511. fref 
  512. "explanation" 
  513. txtOver 
  514. 8= 0 
  515. Example:
  516. in,sculpted
  517. ThreeDeeRect
  518. bottomLine
  519. topLine
  520. obref
  521. dlgPage
  522. -nameRef
  523. scriptObjects
  524. scriptChooserDialog
  525. currentobject
  526. buttonclick
  527. obtype
  528. obname
  529. nameRef
  530. -- Displays 
  531. scripted 
  532. }on the 
  533. allowing users
  534. their scrips
  535. buttonclick
  536. Zretval
  537. reference 
  538. appear 
  539. dlgPage 
  540. "scriptChooserDialog"
  541. list 
  542. getObjectList(
  543. currentobject
  544. nameRef(currentObject) & 
  545. ) = 1
  546. obref 
  547. "scriptObjects" 
  548. %modal
  549. -- display "friendly 
  550. obtype 
  551. obname 
  552. 9& obj
  553. View Scripts
  554. author
  555. reader
  556. author
  557. rectangle
  558. enterpage
  559. notifybefore 
  560. author
  561. reader
  562. author
  563. dotted
  564. enterpage
  565. notifybefore 
  566. buttonclick
  567. buttonclick
  568. Copy objects
  569. author
  570. reader
  571. enterpage
  572. Explanation and example format
  573. label
  574. Explanation and example format
  575. Explanatory remarks belong in this field.eeee
  576. Notes about the example go here.ze button starts the timer running when the page is entered. 
  577. When time is up, the timer sends the endTime message, which in this example is handled by the Initialize button.
  578. Example itself goes here
  579. description and script
  580. tline
  581. SubtopicName
  582. in,ms
  583. ThreeDeeRect
  584. bottomLine
  585. topLine
  586. script
  587. false
  588. keydown
  589. .',    "
  590. script
  591. scrolling
  592. rectangle
  593. enterpage
  594. key,isShift,isCtrl
  595. caretLocation
  596. notifyBefore 
  597. fref 
  598. txtOver 
  599. 8= 0 
  600. Script:
  601. script
  602. buttonclick
  603. -- puts the contents 
  604. lipboard
  605. buttonclick
  606. fref 
  607. Copy Script
  608. in,ms
  609. ThreeDeeRect
  610. bottomLine
  611. topLine
  612. explanation
  613. .',    "
  614. scrolling
  615. rectangle
  616. explanation
  617. enterpage
  618. notifyBefore 
  619. fref 
  620. "explanation" 
  621. txtOver 
  622. 8= 0 
  623. enterpage
  624. Explanation and text illustration format
  625. label
  626. Explanation and text illustration format
  627. Put the script below in an object that you want to drag with the mouse. Note: if you want to drag a group, change the references from arget
  628. text illustration goes here
  629. intro
  630. SubtopicName
  631. 950123130433102958791294146
  632. <Introduction>
  633. origPage
  634. 10,14
  635. selectChars
  636. original
  637. <Introduction>
  638. label
  639. Introduction
  640. This book is an empty template for filling with reference information.
  641.  To go to a given topic, click a topic in the list. 
  642.  To view topics related to a given category, choose the desired category.
  643.  Use the search button to search for a topic by key word.
  644.  Use the splitter bar to resize the navigation panel to the left.
  645. Note: you can add new topics to this book by pressing F3 (to enter author mode) and using the topic buttons that appear at the lower left.tons that appear at the lower left.
  646. String Manipulation
  647. Useful Functions
  648. Widgets
  649. 40,139
  650. Claude Ostyn
  651. info_LastSavedBy
  652. 1/23/95 1:06:33 PM
  653. Page id 143
  654. D array"
  655. navigationBar
  656. Page id 1
  657. categoryPicker
  658. Page id 3
  659. categoryMaintenance
  660. Page id 8
  661. Category Maintenance
  662. newTopic
  663. Page id 121
  664. New Topic
  665. scriptChooserDialog
  666. T Tips
  667. Topic Categories
  668. Scripts examples in library.tbk.
  669. Scripts examples in library.tbk. Page 
  670. MS Sans Serif
  671. info_LastSaved
  672. Mammals
  673. House Pets
  674. Smell Bad
  675. categories
  676. 4,5,0
  677. 4,5,0
  678. 4,6,7,0
  679. 4,5,0
  680. Farm Animals
  681. Household Pets
  682. Stinky Animals
  683. categoryStruct
  684. topicsPerCategory
  685. Data Valadation
  686. 10,9,4,5,6,0,7
  687. 13,12,11
  688. DOS Utilities
  689. File Maintenance
  690. 16,15,14
  691. Functions
  692. Menus
  693. Navigation
  694. Programming Aids
  695. Resources
  696. Sorting and Searching
  697. Useful Objects
  698. Courier New
  699. g"g#%~k
  700. V-g"[
  701. Data Valadation
  702. 76,75,80,74,71,28,73,72
  703. 78,79,103,77
  704. DOS Utilities
  705. 84,85,81,83,86
  706. File Maintenance
  707. 100,82,99
  708. Functions
  709. 108,88,87
  710. Menus
  711. Navigation
  712. Programming Aids
  713. 98,106,97
  714. Resources
  715. 92,94,93
  716. Sorting and Searching
  717. 82,107,109
  718. Useful Objects
  719. 95,96
  720. MS Sans Serif
  721. '&%~k
  722. Arial
  723. 6O*K~k
  724. Courier New
  725. 6O*K~k
  726. urier New
  727. SubtopicName
  728. script
  729. SubtopicName
  730. script
  731. Menus
  732. Navigation
  733. Sorting and Searching
  734. 130,82,109
  735. String Manipulation
  736. 132,131,130,129
  737. Useful Functions
  738. 132,129,115
  739. Widgets
  740. 141,140,139,138
  741. Useful Objects
  742. 95,96
  743. MS Sans Serif
  744. System
  745.  Sans Serif
  746.  Sans Serif
  747. Arial
  748. r]g"=
  749. r]g"=
  750. Conversion help
  751. Useful Functions
  752. Widgets
  753. Drag and Drop
  754. ata Validation
  755. Date functions
  756. Debugging
  757. DOS Utilities
  758. File Maintenance
  759. Navigation
  760. Sorting and Searching
  761. String Manipulation
  762. Useful Functions
  763. 158,151
  764. Widgets
  765. 160,159,157,156,141
  766. Drag and Drop
  767. r]g"=
  768. Category A
  769. Category B
  770. Category C
  771. Date functions
  772. Debugging
  773. DOS Utilities
  774. File Maintenance
  775. Navigation
  776. Sorting and Searching
  777. String Manipulation
  778. Useful Functions
  779. Widgets
  780. 40,139
  781. Claude Ostyn
  782. info_LastSavedBy
  783. 1/23/95 1:06:33 PM
  784. /95 1:06:15 PM
  785. Useful Functions
  786. Widgets
  787. 160,159
  788. Drag and Drop
  789. Widgets
  790. 160,159,157,156,141
  791. Drag and Drop
  792. Debugging
  793. DOS Utilities
  794. File Maintenance
  795. Navigation
  796. Sorting and Searching
  797. String Manipulation
  798. Useful Functions
  799. 158,151
  800. Widgets
  801. 159,157,156,141
  802. Drag and Drop
  803.  Standard ToolBook messages 
  804. enterApplication
  805.     -- link needed dll's
  806.     linkDLL "tb40win.
  807. displayBitsPerPixel()
  808.     -- these gdi calls are used 
  809. drawing separator 
  810. getDeviceCaps(
  811. moveTo(
  812. lineTo(
  813. setROP2(
  814. gcreatePen(
  815. deleteObject(
  816. gselectObject(
  817. Xuser
  818. ggetDC(
  819. releaseDC(
  820. e"Using 
  821. &Template" alias "helpTemplate" 
  822. fhelptext\
  823.          "Displays 
  824. 4 on 
  825. template."
  826. backcolor (a "
  827. " handler, below) depending on
  828.     -- the 
  829. colors displayed.
  830. numColors()
  831. > 16 
  832. darkerBlue()
  833. lighterBlue()
  834. "navigationBar"
  835.         -- initialize combobox 
  836. "categories" 
  837. "<All 
  838. populate "
  839. "Topics"
  840. hideControls
  841. leaveApplication
  842.     oldSys = 
  843. buttons 
  844. modifying 
  845. showControls
  846. "CategoryButtons" 
  847. "Navigation"
  848. 7 - 60
  849. deleted, updates 
  850. category array (struct[][]) userProperty 
  851.     -- Each row 
  852. Bhas 
  853. a list
  854. numbers 
  855. belonging 
  856. that 
  857. }. This 
  858.     -- walks through 
  859. , finding every instance 
  860. found, 
  861. removes 
  862. "description 
  863. example,
  864. only"
  865. Zx[][]
  866. categoryStruct 
  867. pageID 
  868. dimensions(x)
  869. itemOffset(
  870. 7,x[i][2])
  871. x[i][2]
  872. a content 
  873.         -- 
  874. ensure 
  875. label property
  876.         -- 
  877.  holds 
  878. each 
  879. fref 
  880. "subTopicName" 
  881.         -- 
  882. necessary
  883. "explanation"
  884.         -- 
  885. scrollbars, 
  886. txtOver 
  887. ;= 0 
  888.  Utility handlers 
  889. -- returns 
  890. extractName t
  891. tabOffset 
  892. following a 
  893. extractID t
  894. lastTabLoc 
  895. U(t) 
  896. instances 
  897. stripChar chr,strng
  898.     hdc = 
  899.     windowhandle 
  900.     retval = 
  901. %,24)
  902. 212,79.1875,71.6875
  903. 180,75.125,100
  904. backColor 
  905. value
  906. bckgrnds 
  907. "intro,
  908. curBack 
  909.  Handlers 
  910. dealing 
  911. structure 
  912. during authoring 
  913. debugging purposes)
  914. showCategoryStruct
  915. Zx[][]
  916. x[i][1] 
  917. 9& x[i][2] & 
  918. handers 
  919. twoDquicksort fArray[][],n,dtype
  920. 4stbk_noSwap
  921. twoDquicksrt 
  922. 6, 1, 
  923. E),n,
  924. U l, r,n,
  925. r > l 
  926. x, l, ((l+r) 
  927. (l+1) 
  928. test 
  929. i][n] < 
  930. l][n] 
  931. i][n] < 
  932. l][n] 
  933. i][n] < 
  934. l][n] 
  935. stbk_noswap
  936. , l, 
  937. -1,n,
  938. , lst+1,r,n,
  939.  a, b
  940. farray[a][i]
  941. b][i]
  942. b][i] 
  943.     mydir = 
  944.     sen = sysErrorNumber
  945.     se = 
  946.     ss = 
  947.     bref = 
  948. u&"tmplhelp.tbk")
  949. 1= ss
  950. "Cannot 
  951. 8TMPLHELP.TBK"
  952.         vref = 
  953. defaultpage 
  954. "cbt4" 
  955. r= se
  956. -- change cursor 
  957. resize 
  958. entering
  959. default 
  960. leaving
  961. handler resizes the 
  962. splitter 
  963. dragged
  964. ZstartPos
  965. X"user"
  966. getsystemmetrics(
  967. ( has swapped mouse buttons.
  968. >23) >0
  969. leftMouseButton 
  970. width 
  971. navigation 
  972. minwidth 
  973. maxwidth 
  974. leftWindow 
  975. rightWindow 
  976. leftWindowWidth 
  977. clientSize 
  978. wholeWindowWidth 
  979. clientsize 
  980. leftMost 
  981. minWidth
  982. rightMost 
  983. j(maxWidth,
  984. splitterBounds 
  985. DC's 
  986. ;windows, since we'll be drawing 
  987.     -- on 
  988. hDCLeft 
  989. getDC(clientHandle 
  990. hDCright 
  991. a pen
  992. hPen 
  993. createPen(0,2,0)
  994. ! on 
  995. ;DC's, storing old selected
  996. hOldObjectleft 
  997. selectObject(
  998. hOldObjectMain 
  999. modes 
  1000. oldROP2right 
  1001. setROP2(
  1002. oldROP2left 
  1003. windowRef 
  1004. curDC 
  1005. oldP 
  1006. mousePosition 
  1007. oldp <> 
  1008.             -- erase 
  1009. drawLine 
  1010. ,endPos
  1011. we need 
  1012. switch 
  1013. DC's, release them
  1014. deleteObject(
  1015. releaseDC(
  1016. hDCleft
  1017. RightBorder 
  1018. currentpage 
  1019. leftwindow 
  1020. syspageUnitsPerPixel
  1021. sizePage
  1022. -- draws a 
  1023. specified DC
  1024. endpos 
  1025. fromPoint 
  1026. PageUnitsToClient(
  1027. toPoint 
  1028. moveTo(
  1029. lineTo(
  1030. -- adds the 
  1031. navigation 
  1032. -- called on 
  1033. whenever 
  1034. 1combobox value 
  1035. -- Note: each 
  1036. will be 
  1037. like such:
  1038. -- <label 
  1039. zhangs out beyond 
  1040. edge 
  1041. used 
  1042. populate 
  1043. ZallTopics
  1044. X"tb40dlg.dll"
  1045. sortTextLines(
  1046. "All"
  1047.             -- walk every 
  1048. content backgrounds, 
  1049.             -- a list 
  1050. their labels.
  1051. bckgrnds 
  1052. "intro,description 
  1053. example,
  1054. only"
  1055. backRef 
  1056. pageRef 
  1057.             -- 
  1058. numbers 
  1059. category
  1060. trailing 
  1061.     -- update 
  1062.     -- adjust 
  1063. selectedTextlines 
  1064. U, navigate 
  1065. that 
  1066. extractID(
  1067. clicked.
  1068. buttonclick 
  1069. -- ToolBook sends 
  1070. message just 
  1071. 4displaying
  1072. -- the dropdown 
  1073. a comboBox
  1074. enterDropDown
  1075. updateDropDownList
  1076. -- puts 
  1077. Fcategories 
  1078. Tlist
  1079. ZmainStruct[][]
  1080. categoryStruct 
  1081. arraySize 
  1082. dimensions(
  1083. [i][1] 
  1084. odropDownItems 
  1085. "<All 
  1086. N>" & 
  1087. a combobox 
  1088. selectChange value
  1089.  selcted 
  1090.     -- navigation 
  1091. populate "
  1092. i][1]=
  1093. amainstruct[i][2] 
  1094. -- kill 
  1095. , so 
  1096. goes 
  1097. leaveDropDown
  1098. categories 
  1099. the "prompt" 
  1100. , selecting
  1101.  current 
  1102. Mbelongs 
  1103. that 
  1104. -- category. (
  1105. Ncan 
  1106. more than one 
  1107. myID 
  1108. myTopic 
  1109. label 
  1110. "Choose 
  1111. M" && 
  1112. ZmainStruct[][]
  1113. categoryStruct 
  1114. fref 
  1115. arraySize 
  1116. dimensions(
  1117. si][1] 
  1118.         -- 
  1119. o i, 
  1120.         -- 
  1121. selectedTextLine 
  1122. itemOffset(
  1123. i][2]) > 0
  1124.         -- 
  1125. kunless we are on 
  1126. selectedTextlines 
  1127. -- update 
  1128. compileCategories
  1129. selectedTextLines 
  1130.     -- walk through 
  1131.         -- 
  1132. ) > 0
  1133.             -- 
  1134. xalready assigned, 
  1135. i][2])=0
  1136. i][2]
  1137.             -- 
  1138.             -- exists
  1139. itemLoc 
  1140. i][2])
  1141. i][2]
  1142.  structure
  1143. "hideControls
  1144. helpTemplate
  1145. reader
  1146. <All topics>
  1147. Using this &Template
  1148. displayBitsPerPixel
  1149. Displays help on using this template.
  1150. categories
  1151. getDC
  1152. releaseDC
  1153. lighterBlue
  1154. Topics
  1155. false
  1156. tb40win.dll
  1157. darkerBlue
  1158. getDeviceCaps
  1159. moveTo
  1160. lineTo
  1161. setROP2
  1162. createPen
  1163. deleteObject
  1164. selectObject
  1165. navigationBar
  1166. backcolor
  1167. Tvpopulate
  1168. numColors
  1169. enterApplication
  1170. helpTemplate
  1171. leaveApplication
  1172. CshowControls
  1173. author
  1174. 1,"J<Y
  1175. topics
  1176. CategoryButtons
  1177. Navigation
  1178. showControls
  1179. "hideControls
  1180. reader
  1181. topics
  1182. CategoryButtons
  1183. Navigation
  1184. hideControls
  1185. itemOffset
  1186. description and script,description and example,description only
  1187. pageID
  1188. categoryStruct
  1189. categoryStruct
  1190. destroy
  1191. .',    "
  1192. subTopicName
  1193. description and script,description and example,description only
  1194. scrolling
  1195. explanation
  1196. label
  1197. enterPage
  1198. subTopicName
  1199. description and script,description and example,description only
  1200. label
  1201. topic
  1202. label
  1203. leavePage
  1204. extractName
  1205. extractID
  1206. ,&H.&
  1207. itemOffset
  1208. stripChar
  1209. }releaseDC
  1210. 4getDeviceCaps
  1211. getDC
  1212. retval
  1213. numColors
  1214. Q@darkerBlue
  1215. R@lighterBlue
  1216. bckgrnds
  1217. intro,description and script,description and example,description only
  1218. curBack
  1219. backColor
  1220. categoryStruct
  1221. showCategoryStruct
  1222. stbk_noSwap
  1223. |CtwoDquicksrt
  1224. twoDquicksort
  1225. stbk_noSwap
  1226. |CtwoDquicksrt
  1227. twoDquicksrt
  1228. .',    "
  1229. Cannot find book TMPLHELP.TBK
  1230. mydir
  1231. tmplhelp.tbk
  1232. helpTemplate
  1233. resize
  1234. mouseEnter
  1235. default
  1236. mouseLeave
  1237. selectObject
  1238. gsizePage
  1239. curDC
  1240. deleteObject
  1241. splitterBounds
  1242. endPos
  1243. getDC
  1244. hDCright
  1245. createPen
  1246. }releaseDC
  1247. splitter
  1248. hOldObjectleft
  1249. leftWindow
  1250. oldROP2left
  1251. minwidth
  1252. rightWindow
  1253. getsystemmetrics
  1254. -setROP2
  1255. getsystemmetrics
  1256. oldROP2right
  1257. windowRef
  1258. hOldObjectMain
  1259. hDCLeft
  1260. edrawLine
  1261. leftMost
  1262. maxwidth
  1263. wholeWindowWidth
  1264. rightMost
  1265. RightBorder
  1266. buttondown
  1267. lineTo
  1268. fromPoint
  1269. y!moveTo
  1270. toPoint
  1271. drawLine
  1272. .',    #>
  1273. ,&H.&
  1274. .',    #>
  1275. .'+    +
  1276. bckgrnds
  1277. extractID
  1278. sortTextLines
  1279. intro,description and script,description and example,description only
  1280. pageRef
  1281. wsortTextLines
  1282. tb40dlg.dll
  1283. backRef
  1284. label
  1285. populate
  1286. extractID
  1287. buttonclick
  1288. HHupdateDropDownList
  1289. enterDropDown
  1290. <All topics>
  1291. categoryStruct
  1292. updateDropDownList
  1293. topics
  1294. <All topics>
  1295. Tvpopulate
  1296. categoryStruct
  1297. selectChange
  1298. leaveDropDown
  1299. myTopic
  1300. itemOffset
  1301. prompt
  1302. categories
  1303. Choose categories for topic
  1304. categoryStruct
  1305. label
  1306. enterPage
  1307. itemOffset
  1308. categories
  1309. itemLoc
  1310. categoryStruct
  1311. categoryStruct
  1312. compileCategories
  1313. &File
  1314. &Open...    Ctrl+O
  1315. &Save    Ctrl+S
  1316. Save &As...
  1317. saveas
  1318. &Run...
  1319. E&xit    Alt+F4
  1320. &Edit
  1321. &Undo    Ctrl+Z
  1322. Cu&t    Ctrl+X
  1323. &Copy    Ctrl+C
  1324. &Paste    Ctrl+V
  1325. paste
  1326. A&uthor    F3
  1327. author
  1328. &Help
  1329. &Contents    F1
  1330. index
  1331. {{{{{{{p{
  1332. dragApple
  1333. dragOrange
  1334. wwwwp
  1335. wwwwp
  1336. wwwww
  1337. wwwwwp
  1338. resize
  1339. origPage
  1340. original
  1341. label
  1342. bottomLine
  1343. topLine
  1344. Categories
  1345. Category A    128
  1346. Category B    151
  1347. Catego
  1348. firstidle
  1349. enterPage
  1350. comps
  1351. C:\WINDOWS\MORICONS.DLL
  1352. MORICONS.DLL
  1353. ,,,$Install$\MORICONS.DLL,9
  1354. oldRecordfieldList
  1355. newRecordfieldList
  1356. screen
  1357. reader
  1358. author
  1359. notifyBefore 
  1360. FALSE
  1361. allowDrop
  1362. frame
  1363.